home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / amiga20 / clib / commodities_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-11  |  2.1 KB  |  79 lines

  1. #ifndef  CLIB_COMMODITIES_PROTOS_H
  2. #define  CLIB_COMMODITIES_PROTOS_H
  3. /*
  4. **    $Filename: clib/commodities_protos.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 30.156 $
  7. **    $Date: 1995/01/11 05:18:07 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14. /* "commodities.library" */
  15. #ifndef  EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18. #ifndef  EXEC_NODES_H
  19. #include <exec/nodes.h>
  20. #endif
  21. #ifndef  LIBRARIES_COMMODITIES_H
  22. #include <libraries/commodities.h>
  23. #endif
  24. #ifndef  DEVICES_INPUTEVENT_H
  25. #include <devices/inputevent.h>
  26. #endif
  27. #ifndef  DEVICES_KEYMAP_H
  28. #include <devices/keymap.h>
  29. #endif
  30. /*--- functions in V36 or higher (distributed as Release 2.0) ---*/
  31. /**/
  32. /*  OBJECT UTILITIES */
  33. /**/
  34. CxObj *CreateCxObj( unsigned long type, long arg1, long arg2 );
  35. CxObj *CxBroker( struct NewBroker *nb, LONG *error );
  36. LONG ActivateCxObj( CxObj *co, long true );
  37. void DeleteCxObj( CxObj *co );
  38. void DeleteCxObjAll( CxObj *co );
  39. ULONG CxObjType( CxObj *co );
  40. LONG CxObjError( CxObj *co );
  41. void ClearCxObjError( CxObj *co );
  42. void SetCxObjPri( CxObj *co, long pri );
  43. /**/
  44. /*  OBJECT ATTACHMENT */
  45. /**/
  46. void AttachCxObj( CxObj *headobj, CxObj *co );
  47. void EnqueueCxObj( CxObj *headobj, CxObj *co );
  48. void InsertCxObj( CxObj *headobj, CxObj *co, CxObj *pred );
  49. void RemoveCxObj( CxObj *co );
  50. /**/
  51. /*  TYPE SPECIFIC */
  52. /**/
  53. void SetTranslate( CxObj *translator, IX *ie );
  54. void SetFilter( CxObj *filter, IX *text );
  55. void SetFilterIX( CxObj *filter, IX *ix );
  56. LONG ParseIX( UBYTE *descr, IX *ix );
  57. /**/
  58. /*  COMMON MESSAGE */
  59. /**/
  60. ULONG CxMsgType( CxMsg *cxm );
  61. UBYTE *CxMsgData( CxMsg *cxm );
  62. LONG CxMsgID( CxMsg *cxm );
  63. /**/
  64. /*  MESSAGE ROUTING */
  65. /**/
  66. void DivertCxMsg( CxMsg *cxm, CxObj *headobj, CxObj *ret );
  67. void RouteCxMsg( CxMsg *cxm, CxObj *co );
  68. void DisposeCxMsg( CxMsg *cxm );
  69. /**/
  70. /*  INPUT EVENT HANDLING */
  71. /**/
  72. ULONG InvertKeyMap( unsigned long ansicode, struct InputEvent *ie,
  73.     struct KeyMap *km );
  74. void AddIEvents( struct InputEvent *ie );
  75. /**/
  76. /* FOR USE ONLY BY CONTROLLER PROGRAM */
  77. /**/
  78. #endif     /* CLIB_COMMODITIES_PROTOS_H */
  79.